wayland: Update gtk-shell protocol to v3
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 6 Feb 2016 14:06:59 +0000 (15:06 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 19 Feb 2016 16:45:42 +0000 (17:45 +0100)
Add a gtk_shell.set_startup_id request, so the application can communicate
to the compositor the startup id that it received through the
DESKTOP_STARTUP_ID envvar, or other means.

gdk/wayland/protocol/gtk-shell.xml

index fd9974e20fc9c04f80a735ede8aec6cf78b4704a..258442c6219bae07616ed9d68f76f332a85f41d1 100644 (file)
@@ -1,6 +1,6 @@
 <protocol name="gtk">
 
-  <interface name="gtk_shell" version="2">
+  <interface name="gtk_shell" version="3">
     <description summary="gtk specific extensions">
       gtk_shell is a protocol extension providing additional features for
       clients implementing it. It is not backward compatible, and a client must
       <arg name="gtk_surface" type="new_id" interface="gtk_surface"/>
       <arg name="surface" type="object" interface="wl_surface"/>
     </request>
+
+    <request name="set_startup_id" since="3">
+      <arg name="startup_id" type="string" allow-null="true"/>
+    </request>
   </interface>
 
-  <interface name="gtk_surface" version="2">
+  <interface name="gtk_surface" version="3">
     <request name="set_dbus_properties">
       <arg name="application_id" type="string" allow-null="true"/>
       <arg name="app_menu_path" type="string" allow-null="true"/>